d-0005-no-jemalloc
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sun, 8 Mar 2026 10:11:47 +0000 (11:11 +0100)
Description: remove jemalloc-sys

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0005-no-jemalloc.patch

compiler/rustc/Cargo.toml
src/tools/rust-analyzer/crates/profile/Cargo.toml
src/tools/rust-analyzer/crates/rust-analyzer/Cargo.toml

index 9ef8fa75062a2a1cede5e306ced8eda3dbee461e..e2c819035ed5f52607a99cdb8f487ad8f8794f87 100644 (file)
@@ -20,15 +20,9 @@ rustc_public = { path = "../rustc_public" }
 rustc_public_bridge = { path = "../rustc_public_bridge" }
 # tidy-alphabetical-end
 
-[dependencies.tikv-jemalloc-sys]
-version = "0.6.0"
-optional = true
-features = ['unprefixed_malloc_on_supported_platforms']
-
 [features]
 # tidy-alphabetical-start
 check_only = ['rustc_driver_impl/check_only']
-jemalloc = ['dep:tikv-jemalloc-sys']
 llvm = ['rustc_driver_impl/llvm']
 llvm_enzyme = ['rustc_driver_impl/llvm_enzyme']
 max_level_info = ['rustc_driver_impl/max_level_info']
index 4828419003a60106de690b15a5ab695803e3af8d..f60282f2705a9b6299e020538eb52580a2d2850c 100644 (file)
@@ -14,7 +14,6 @@ doctest = false
 
 [dependencies]
 cfg-if = "1.0.1"
-jemalloc-ctl = { version = "0.5.4", package = "tikv-jemalloc-ctl", optional = true }
 
 [target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies]
 perf-event = "=0.4.7"
@@ -30,7 +29,6 @@ windows-sys = { version = "0.60", features = [
 
 [features]
 cpu_profiler = []
-jemalloc = ["jemalloc-ctl"]
 
 # Uncomment to enable for the whole crate graph
 # default = [ "cpu_profiler" ]
index c746f848b6a062cc97ed424c6fb2b95c7e3b7243..3851ed2ff83adff5558ec6d1e951519bc0c17d22 100644 (file)
@@ -83,9 +83,6 @@ windows-sys = { version = "0.60", features = [
   "Win32_System_Threading",
 ] }
 
-[target.'cfg(not(target_env = "msvc"))'.dependencies]
-jemallocator = { version = "0.5.4", package = "tikv-jemallocator", optional = true }
-
 [dev-dependencies]
 expect-test = "1.5.1"
 xshell.workspace = true
@@ -95,7 +92,6 @@ test-fixture.workspace = true
 syntax-bridge.workspace = true
 
 [features]
-jemalloc = ["jemallocator", "profile/jemalloc"]
 force-always-assert = ["stdx/force-always-assert"]
 in-rust-tree = [
   "syntax/in-rust-tree",